import request from "@/utils/request";

export default {
  //讲师列表显示
  getList() {
    return request({
      url: `/eduservice/indexfront/frontShow`,
      method: "get"
    });
  },
  //分页
  getPageFront(current, limit) {
    return request({
      url: `/eduservice/teacherfront/front/page/${current}/${limit}`,
      method: "post"
    });
  },
  //根据id查询讲师和所讲课程
  getbyidcourses(id) {
    return request({
      url: `/eduservice/teacherfront/byid/${id}`,
      method: "get"
    });
  }
};
